using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Metro.Admin.BusinessEntities
{
    [DataContract]
    public class Stats
    {
        private decimal average = 0;
        private decimal open = 0;
        private decimal close = 0;
        private decimal minimal = 0;
        private decimal maximum = 0;

        [DataMember]
        public Decimal Open
        {
            get { return this.open; }
            set { this.open = value; }
        }

        [DataMember]
        public Decimal Close
        {
            get { return this.close; }
            set { this.close = value; }
        }

        [DataMember]
        public Decimal Minimal
        {
            get { return this.minimal; }
            set { this.minimal = value; }
        }

        [DataMember]
        public Decimal Maximum
        {
            get { return this.maximum; }
            set { this.maximum = value; }
        }

        [DataMember]
        public Decimal Average
        {
            get { return this.average; }
            set { this.average = value; }
        }
    }
}
